package com.silences.pojo;

import java.util.Date;

public class Orders {
    private int ordersid;
    private String ordersname;
    private String ordersnum;
    private String ordersplace;
    private String ordersprice;
    private String avatar;
    private Date createdate;
    private String oname;

    public String getOname() {
        return oname;
    }

    public void setOname(String oname) {
        this.oname = oname;
    }

    public int getOrdersid() {
        return ordersid;
    }

    public void setOrdersid(int ordersid) {
        this.ordersid = ordersid;
    }

    public String getOrdersname() {
        return ordersname;
    }

    public void setOrdersname(String ordersname) {
        this.ordersname = ordersname;
    }

    public String getOrdersnum() {
        return ordersnum;
    }

    public void setOrdersnum(String ordersnum) {
        this.ordersnum = ordersnum;
    }

    public String getOrdersplace() {
        return ordersplace;
    }

    public void setOrdersplace(String ordersplace) {
        this.ordersplace = ordersplace;
    }

    public String getOrdersprice() {
        return ordersprice;
    }

    public void setOrdersprice(String ordersprice) {
        this.ordersprice = ordersprice;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }



    @Override
    public String toString() {
        return "Orders{" +
                "ordersid=" + ordersid +
                ", ordersname='" + ordersname + '\'' +
                ", ordersnum='" + ordersnum + '\'' +
                ", ordersplace='" + ordersplace + '\'' +
                ", ordersprice='" + ordersprice + '\'' +
                ", oname='" + oname + '\'' +
                '}';
    }


    //无参

    public Orders() {
    }

    //有参

    public Orders(int ordersid, String ordersname, String ordersnum, String ordersplace, String ordersprice, String avatar, Date createdate, String oname) {
        this.ordersid = ordersid;
        this.ordersname = ordersname;
        this.ordersnum = ordersnum;
        this.ordersplace = ordersplace;
        this.ordersprice = ordersprice;
        this.avatar = avatar;
        this.createdate = createdate;
        this.oname = oname;
    }
}
